<!--沈姚楠 -->
<%@page import="com.xz.group12306.domain.User"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
 <link rel="stylesheet" type="text/css" href="../js/util/easyui/themes/default/easyui.css">
    <link rel="stylesheet" type="text/css" href="../js/util/easyui/themes/icon.css">

    <script type="text/javascript" src="../js/util/easyui/jquery.min.js"></script>
    <script type="text/javascript" src="../js/util/easyui/jquery.easyui.min.js"></script>

    <link href="../css/css.css" rel="stylesheet" type="text/css">
    <script type="text/javascript" src="../js/index/user.js"></script>
	<style>
		.user-icon {
			width : 200px;
			height : 200px;
		}
	</style>
</head>
<body>
<%-- <% Object user=session.getAttribute("user"); 
    User ouser=(User)user;
   %> --%>
 <c:if test="${not empty user }"></c:if>  
<form id="fm" action="../UpdateMassageServlet?id=${user.id }" method="get" enctype="multipart/form-data">

     <div style="margin:20px 0;"></div>
    
    <table>
       <div style="margin-bottom:20px">
       头像: &nbsp;&nbsp;&nbsp;&nbsp;
       <img id="userIcon" class="user-icon" src="../images/photo/icon.jpg">
	    <input type="hidden" id="icon" name="icon">
       </div>
        <div style="margin-bottom:20px">
            <input class="easyui-textbox" label="用户id:" name="id"    value="${user.id }" style="width:50%;height:30px" readonly>
        </div>
        <div style="margin-bottom:20px">
            <input class="easyui-textbox" label="用户名:" name="username"    value="${user.username }" style="width:50%;height:30px">
        </div>
        <div style="margin-bottom:20px">
             <input class="easyui-textbox" label="真实姓名:" name="realname"   prompt="${user.realname }" style="width:50%;height:30px" readonly>
        </div>
        <div style="margin-bottom:20px">
             <input class="easyui-textbox" label="性别:" name="sex"   prompt="${user.sex }" style="width:50%;height:30px" readonly>
        </div>
        <div style="margin-bottom:20px">
             <input class="easyui-textbox" label="生日:" name="birthday"   prompt="${user.birthday }" style="width:50%;height:30px" readonly>
        </div>
        <div style="margin-bottom:20px">
            <input class="easyui-textbox" label="备注:" name="content" value="${user.content }" style="width:50%;height:80px" >
         </div>
          <div style="margin-bottom:20px">
            <input class="easyui-filebox" label="File1:" labelPosition="top" data-options="prompt:'Choose a file...'" style="width:100%">
        </div>
        <div style="text-align:center;padding:5px 0">
             <input type="submit"  value="修改信息">
         </div>
    </table>
 </form>  
   
<!--  <iframe id="uploader">
</iframe> -->
</body>
</html>